package com.spring.annotation;

/**
 * @desc:
 * @author: hhl
 * @date：2023/10/20 16:51
 */
public class BeanDefinition {

    /**
     * 当前bean
     */
    private Class clazz;

    /**
     * 作用域
     */
    private String scope;

    public BeanDefinition() {
    }

    public BeanDefinition(Class clazz, String scope) {
        this.clazz = clazz;
        this.scope = scope;
    }

    public Class getClazz() {
        return clazz;
    }

    public String getScope() {
        return scope;
    }

    public void setClazz(Class clazz) {
        this.clazz = clazz;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }
}
